<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tourist Attractions</title>
<link rel="stylesheet" type="text/css" href="css/Style.css" />
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
</head>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
int isAdmin = 0;
String visitorName=null;
Cookie cookie= null;
Cookie[] cookies=request.getCookies();
if(cookies!=null){
	for(int i=0; i<cookies.length; i++){
		cookie=cookies[i];
		if(cookie.getName().compareTo("user")==0)
		visitorName=cookie.getValue();
	}
}
%>
<c:set var="userName" value="<%= visitorName%>"></c:set>


<body>

<header class="cabecera">

<div class="image">

	<img src="Images/Skyline.png" alt="My title image">

	

	<c:if test="${userName!=null}">
	<div class="login"> 
		<img src="Images/icon.png" alt="icono">
		<a href="infVisitor.htm"><c:out value="${userName}"></c:out></a> / <a href="index.htm">LogOut</a>
	</div>
	</c:if>
	<c:if test="${userName==null}">
	<div class="login"> 
 		<img src="Images/icon.png" alt="icono">
 		
 		<a href="login.htm">Login</a> / <a href="visitorRegister.htm">SignIn</a>
	</div>
	</c:if>
</div>

<!-- Menu -->
<nav class="nav"> 
	<ul class="menu">
		<c:if test="${userName!=null}">
		<li><a href="index2.htm"> Home</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="index.htm"> Home</a></li>
		</c:if>
		<li><a href="#"> North Town</a>
			<ul>
				<li><a href="museum.htm"> Museum</a></li>
				<li><a href="theater.htm"> Theater</a></li>
				<li><a href="stadium.htm"> Stadium</a></li>
				<li><a href="business.htm"> Business</a></li>
			</ul>
		</li>
		<li><a href="#"> South Town</a>
			<ul>
				<li><a href="park.htm"> Park</a></li>
				<li><a href="zoo.htm"> Zoo</a></li>
				<li><a href="#"> Attractions</a></li>
				<li><a href="markets.htm"> Markets</a></li>
			</ul>
		</li>
		<c:if test="${userName!=null}">
		<li><a href="show_events.htm"> Events</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="login.htm"> Events</a></li>
		</c:if>
	</ul>
 </nav>


</header>

<div class="Container">
	<h2>Tourist Attractions</h2>
	<div class="text">
		<img src="Images/attractions.jpg" align="left"hspace="10" width="40%">
		<!--  <= image.getImage() %>-->
		<p> A tourist attraction is a place of interest where tourists visit, 
		typically for its inherent or exhibited natural or cultural value, 
		historical significance, natural or built beauty, offering leisure, 
		adventure and amusement.</p>
	
		<p>Natural beauty such as beaches, tropical island resorts with coral 
		reefs, hiking and camping in national parks, mountains and forests, 
		are examples of traditional tourist attractions to spend summer 
		vacations. Other examples of cultural tourist attractions include 
		historical places, monuments, ancient temples, zoos, aquaria, museums 
		and art galleries, botanical gardens, buildings and structures 
		(e.g., castles, libraries, former prisons, skyscrapers, bridges), 
		theme parks and carnivals, living history museums, ethnic enclave 
		communities, historic trains and cultural events. Factory tours, 
		industrial heritage, creative art and crafts workshops are the object 
		of cultural niches like industrial tourism and creative tourism. Many 
		tourist attractions are also landmarks.</p>
		
		<p>Tourist attractions are also created to capitalise on legends such 
		as a supposed UFO crash site near Roswell, New Mexico and the alleged 
		Loch Ness monster sightings in Scotland. Ghost sightings also make 
		tourist attractions.

		Ethnic communities may become tourist attractions, such as Chinatowns 
		in the United States and the black British neighbourhood of Brixton 
		in London, England. </p>
	</div>
	

</div>

<footer> Copyright @ 2015 All rights reserved </footer>	


</body>
</html>